package cn.cs.mapper;

import cn.cs.pojo.AgentInvoice;
import cn.cs.pojo.AgentLevelbPay;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface AgentLevelbPayMapper {

    public AgentLevelbPay getAgentLevelbPayById(@Param(value = "id") String id) throws Exception;

    public List<AgentLevelbPay> getAgentLevelbPayListByMap(Map<String, Object> param) throws Exception;

    public Integer getAgentLevelbPayCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertAgentLevelbPay(AgentLevelbPay agentLevelbPay) throws Exception;

    public Integer updateAgentLevelbPay(AgentLevelbPay agentLevelbPay) throws Exception;

    public Integer deleteAgentLevelbPayById(@Param(value = "id") String id) throws Exception;

    public Integer modifyAgentInvoice(AgentInvoice agentInvoice) throws Exception;
}
